package routers

import (
	"beego/controllers"
	"github.com/astaxie/beego"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/getStock/:id", &controllers.StockController{})

	beego.Router("/getNbaSchedules/", &controllers.NbaSchedulesController{})
	beego.Router("/getNbaGame/:id", &controllers.NbaGameController{})

	beego.Router("/getGameRank/:userId/:gameId", &controllers.GetGameRankController{})
	beego.Router("/addGameScore/:userId/:gameId", &controllers.AddGameScoreController{})
	beego.Router("/resetGameScore/:userId", &controllers.ResetGameScoreController{})

	beego.Router("/getPoem", &controllers.GetPoemController{})

	beego.Router("/getWord/:class", &controllers.GetWordController{})

	beego.Router("/getMessage", &controllers.GetMessageController{})

	beego.Router("/getNickName", &controllers.GetNickNameController{})

	beego.Router("/getIp", &controllers.GetIpController{})

}
